package org.vehicle.service;

import java.util.Map;

import org.vehicle.entity.TempPersonInfo;
import org.vehicle.entity.TripInfo;
import org.vehicle.entity.VehicleInfo;
import org.vehicle.service.base.BaseService;

public interface TripService extends BaseService<TripInfo, Long>{
	/**
	 * 开启或关闭行程
	 * @param kcTripinfo
	 * @param kcTemppersoninfo
	 */
	public void startOrStopTrip(TripInfo tripInfo, TempPersonInfo tempPersonInfo,VehicleInfo vehicleInfo);

	/**
	 * 查询开始未结束行程的车辆信息
	 * @param kcTripinfo
	 * @param kcTemppersoninfo
	 */
	public TripInfo findTripInfoByVehicleLicense(TripInfo tripinfo);
	/**
	 * 
	 * @describe:  获取历史行程集合
	 * @param request
	 * @return
	 * @Author: ruifight2018
	 * @Date: 2018年6月11日 上午11:52:22
	 */
	public Map<String, Object> gettripInfoList(Map<String, Object> paramMap);

	public Map<String, Object> selectByKeyId(Long key);

	
	
}